package com.wzp.yyptproject.service;

import com.wzp.yyptproject.entity.JiBing;
import com.wzp.yyptproject.entity.WkBing;
import com.wzp.yyptproject.repository.JiBingRepository;
import com.wzp.yyptproject.repository.WkBingRepository;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
@Slf4j
public class WkBingServiceimp implements WkBingService{

    @Autowired
   private WkBingRepository wkBingRepository;
    @Override
    public List<WkBing> findAll() {
       return wkBingRepository.findAll();
    }
}
